import unittest

from BeautifulReport import BeautifulReport as bf
from EcShopLoginUnittest import TestEcShopLogin

if __name__ == '__main__':
    # 创建好了一个 测试集
    suite = unittest.TestSuite()
    suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestEcShopLogin))
    runner = bf(suite)
    runner.report("EcShop注册的测试用例执行覆盖率", filename='EcShopLoginUnitTest_Reporter_01.html')
